package api

type GenericYueWenError struct {
	body  []byte
	error string
	msg   string
	model interface{}
}

func (e GenericYueWenError) Error() string {
	return e.error
}

func (e GenericYueWenError) Msg() string {
	return e.msg
}

func (e GenericYueWenError) Body() []byte {
	return e.body
}

func (e GenericYueWenError) Model() interface{} {
	return e.model
}
